<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Title</title>
</head>
<body>
<div>列表</div>
<ul></ul>
<script>
    var elUl = document.getElementsByTagName('ul')[0];
    for (var i = 0; i < 20; i++) {
        elUl.innerHTML += (`<li><div><p>这是一个奇怪的梦</p></div></li>`);
    }
</script>
<noscript>
    <!--在浏览器禁用或不支持script时生效,可以提示用户开启-->
    <div>你的浏览器禁用了js</div>
    js是不生效的：
    document.write('<div>尼玛兽</div>')
</noscript>
</body>
</html>